<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<script src="../vue.js"></script>
<script src="./js/velocity.min.js"></script>

<body>
  <div id="app">
    <input type="text" placeholder="请输入要查找的内容：" v-model="query"> // 双向数据绑定
    <transition-group name="item" tag="ul" @before-enter="beforeEnter" @enter="enter" @leave="leave" :css="false">
      //:css="false" 只用钩子函数定义好的样式，不用外部样式
      <li v-for="(item, index) in ComputedList" :key="item.msg" :data-index="index">
        {{msg}}
      </li>
    </transition-group>
  </div>
</body>

</html>